<?php

namespace app\common\validate\xiluedu;

use think\Validate;

class UserFeedback extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'user_id' => ['require'],
        'content|内容' => ['require','length:1,200'],
        'contact|联系方式' => ['require','length:1,50'],
        'reason|反馈类型' => ['require','length:1,30']
    ];
    /**
     * 提示消息
     */
    protected $message = [
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => [],
    ];
    
}
